import request from '@/utils/request';

export const fetchData = query => {
    return request({
        url: './table.json',
        method: 'get',
        params: query
    });
};

export const loginAPI = (data) => {
    return request({
        url: '/user',
        method: 'post',
        data
    })
}

